<template>
	<unicloud-db collection="goodList" v-slot:default="{ data, loading, hasMore }">
		<view>
			<navigator v-for="(item, index) in data" :key="index" :url="`/pages/detail/detail?_id=${item._id}`">
				<my-list-item :item="item"></my-list-item>
			</navigator>
		</view>
		<view style="text-align: center;">
			<uni-icons type="spinner-cycle" size="30"></uni-icons>数据加载中...
		</view>
	</unicloud-db>
</template>